<template>
  <div class="login">
      <div class="loginimg">
        <img src="../img/logo.jpg" alt="">
      </div>
      <div class="loginphone">
        <div class="phone" @click="plogin">
          手机号登录
        </div>
        <div class="register" @click="regiter">
          注册
        </div>
        <p class="youke" @click="shiyong">游客试用</p>
      </div>
     <otherlogin></otherlogin>
  </div>
</template>

<script>
  import otherlogin from '../components/login/otherlogin'
    export default {
        name: "login",
      components:{otherlogin},
      methods: {
          plogin(){
            this.$router.push({path:'/phonelogin'})
          },
        regiter(){
          this.$router.push({path:'/regiter'})
        },
        shiyong(){

          this.$router.push({path:'/index'})
        }
      },
    }
</script>

<style lang="scss">
*{
  margin: 0px;
  padding: 0px;
}
  .login{
    width: 1245px;
    .loginimg{
      width: 272px;
      margin: 430px auto 210px;
      img{
        width: 272px;
        height: 272px;
        border-radius: 60px;
        object-fit: cover;
      }
    }
    .loginphone{
      .phone,.register{
        margin: 0 auto 60px;
        box-sizing: border-box;
        text-align: center;
        padding: 40px 0;
        width: 970px;
        border-radius: 120px;
        border: 5px solid #c2463a;
        font-size: 48px;
        color: #c2463a;
        font-weight: bold;
      }
      p{
        width: 167px;
        margin:0 auto;
        text-align: center;
        padding: 20px 0 10px 0;
        color: #787778;
        font-weight: bold;
        border-bottom: 5px solid #787778;
        font-size: 40px;
      }
    }

  }
</style>
